package com.yb.xczx.cloud.content.client.console;


import com.yb.core.model.XczxResult;
import com.yb.xczx.cloud.content.entity.CourseBase;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "xczx-cloud-content-console",path = "/content")
public interface XczxContentConsoleClient {


    @GetMapping("/course")
    @ApiOperation("查询所有")
    public XczxResult<List<CourseBase>> list(@RequestParam(required = false) @ApiParam("请求msg") String msg, @RequestParam(required = false)  @ApiParam("请求code") Integer code);
}
